import request from '@/utils/request'

export function getWorkOrderHislist(params) {
  return request({
    url: window.CONFIG.workOrderRestIp + '/workOrderHitory/getWorkOrderHislist',
    method: 'post',
    data: params
  })
}
// 获取历史数据信息
// /workOrderHitory/getDetail/{id}
export function getDetail(id) {
  return request({
    url: window.CONFIG.workOrderRestIp + '/workOrderHitory/getDetail?id=' + id,
    method: 'get'
  })
}
